            1     # of paths
            1     # of segments in path#           1
   2   p       destination and mode of segment#   1
   0   s       destination and mode of segment#   2
